package com.dy.service;

import com.dy.entity.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Auther: dy
 * @Date: 2022/4/25 - 04 - 25 - 22:19
 * @Description: com.dy.service
 * @version: 1.0
 */
@FeignClient(name = "es")
public interface IFeignESServlet {
    @PostMapping("/es/esorder")
    public void esorder(@RequestBody Order order);
}
